package com.zhentao.file.service;

import io.minio.errors.*;

import java.io.IOException;
import java.io.InputStream;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;

/**
 * @author 王瑞杰
 * date 2024/5/9
 */
public interface FileStorageService {
     String uploadHtmlFile(String FileName, InputStream inputStream) throws IOException, ServerException, InvalidBucketNameException, InsufficientDataException, ErrorResponseException, NoSuchAlgorithmException, InvalidKeyException, InvalidResponseException, XmlParserException, InternalException;
     String uploadImageFile(String fileName, InputStream inputStream);
}
